{extend name="base" /}
{block name="css"}
<link rel="stylesheet" href="https://paidou.cdn.dgyunju.cn/css/patent_detail.css?{$version|default=100}">
<link rel="stylesheet" href="https://paidou.cdn.dgyunju.cn/fonts/iconfont.css?{$version|default=100}">
{/block}
{block name="content"}
<div id="container">
    <div id="header"></div>
    <div id="rightside"></div>
    <div id="content">
			<h2 class="top_tips">
				{:lang('patent')}
			</h2>
			{notempty name='list'}
			<ul class="picList">
				{foreach $list['data'] as $vo}
				<li>
					<a class="show-img-list" href="#">
						<img class="img_list" src="{$vo['img']|default=''}" alt="{$vo['title']}"/>
					</a>
				</li>
				{/foreach}
			</ul>
		{/notempty}
		<div id="pagination" class="l-page"></div>
    </div>
    <div id="footer"></div>
</div>
{/block}
{block name="script"}
<script src="https://paidou.cdn.dgyunju.cn/js/pagination.min.js"></script>

<script>
	$("#pagination").pagination({
		currentPage:{$list['current_page']|default=1},
		totalPage:{$list['totalPage']|default=1},
		/*是否显示首页、尾页 true：显示 false：不显示*/
		isShow:true,
		/*分页条显示可见页码数量*/
		count:"{$size|default=10}",
		/*第一页显示文字*/
		homePageText:"{:lang('homePageText')}",
		/*最后一页显示文字*/
		endPageText:"{:lang('endPageText')}",
		/*上一页显示文字*/
		prevPageText:"{:lang('prevPageText')}",
		/* 下一页显示文字*/
		nextPageText:"{:lang('nextPageText')}",
		/*点击翻页绑定事件*/
		callback: function(page) {
			window.location.href = "{:url('/patent')}&page="+page;
		}
	});
</script>
{/block}